package com.tms.mapper.develop;

import com.tms.domain.Bill;
import com.tms.domain.BillResponse;
import com.tms.domain.req.BillReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BillMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Bill record);

    int insertSelective(BillReq billReq);

    int updateByPrimaryKeySelective(Bill record);

    int updateByPrimaryKey(Bill record);

    Bill selectByPrimaryKey(Integer id);

    BillResponse selectByPrimaryKeyOfResponse(Integer id);

    List<Bill> selectAlls(@Param(value = "status") int status, @Param(value = "workcellId") int workcellId);

    List<BillResponse> selectAllsOfResponse(@Param(value = "status") int status, @Param(value = "workcellId") int workcellId);
}